﻿namespace OUTLOOK_PLUS_SERVICES_ADDIN
{
    partial class IssueTrackerFormRegion : Microsoft.Office.Tools.Outlook.ImportedFormRegion
    {
        private Microsoft.Office.Interop.Outlook.OlkTextBox olkTextBox1;
        private Microsoft.Office.Interop.Outlook.OlkLabel olkLabel1;
        private Microsoft.Office.Interop.Outlook.OlkTextBox olkTextBox2;
        private Microsoft.Office.Interop.Outlook.OlkLabel olkLabel2;
        private Microsoft.Office.Interop.Outlook._DDocSiteControl _DocSiteControl1;

        public IssueTrackerFormRegion(Microsoft.Office.Interop.Outlook.FormRegion formRegion)
            : base(formRegion)
        {
            this.FormRegionShowing += new System.EventHandler(this.IssueTrackerFormRegion_FormRegionShowing);
            this.FormRegionClosed += new System.EventHandler(this.IssueTrackerFormRegion_FormRegionClosed);
        }

        protected override void InitializeControls()
        {
            this.olkTextBox1 = this.GetFormRegionControl<Microsoft.Office.Interop.Outlook.OlkTextBox>("OlkTextBox1");
            this.olkLabel1 = this.GetFormRegionControl<Microsoft.Office.Interop.Outlook.OlkLabel>("OlkLabel1");
            this.olkTextBox2 = this.GetFormRegionControl<Microsoft.Office.Interop.Outlook.OlkTextBox>("OlkTextBox2");
            this.olkLabel2 = this.GetFormRegionControl<Microsoft.Office.Interop.Outlook.OlkLabel>("OlkLabel2");
            this._DocSiteControl1 = this.GetFormRegionControl<Microsoft.Office.Interop.Outlook._DDocSiteControl>("_DocSiteControl1");

        }

        public partial class IssueTrackerFormRegionFactory : Microsoft.Office.Tools.Outlook.IFormRegionFactory
        {
            public event System.EventHandler<Microsoft.Office.Tools.Outlook.FormRegionInitializingEventArgs> FormRegionInitializing;

            private Microsoft.Office.Tools.Outlook.FormRegionManifest _Manifest;

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public IssueTrackerFormRegionFactory()
            {
                this._Manifest = new Microsoft.Office.Tools.Outlook.FormRegionManifest();
                this.InitializeManifest();
                this.FormRegionInitializing += new System.EventHandler<Microsoft.Office.Tools.Outlook.FormRegionInitializingEventArgs>(this.IssueTrackerFormRegionFactory_FormRegionInitializing);
            }

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Microsoft.Office.Tools.Outlook.FormRegionManifest Manifest
            {
                get
                {
                    return this._Manifest;
                }
            }

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            Microsoft.Office.Tools.Outlook.IFormRegion Microsoft.Office.Tools.Outlook.IFormRegionFactory.CreateFormRegion(Microsoft.Office.Interop.Outlook.FormRegion formRegion)
            {
                IssueTrackerFormRegion form = new IssueTrackerFormRegion(formRegion);
                form.Factory = this;
                return form;
            }

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            byte[] Microsoft.Office.Tools.Outlook.IFormRegionFactory.GetFormRegionStorage(object outlookItem, Microsoft.Office.Interop.Outlook.OlFormRegionMode formRegionMode, Microsoft.Office.Interop.Outlook.OlFormRegionSize formRegionSize)
            {
                System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(IssueTrackerFormRegion));
                return (byte[])resources.GetObject("IssueTrackerForm");
            }

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            bool Microsoft.Office.Tools.Outlook.IFormRegionFactory.IsDisplayedForItem(object outlookItem, Microsoft.Office.Interop.Outlook.OlFormRegionMode formRegionMode, Microsoft.Office.Interop.Outlook.OlFormRegionSize formRegionSize)
            {
                if (this.FormRegionInitializing != null)
                {
                    Microsoft.Office.Tools.Outlook.FormRegionInitializingEventArgs cancelArgs = new Microsoft.Office.Tools.Outlook.FormRegionInitializingEventArgs(outlookItem, formRegionMode, formRegionSize, false);
                    this.FormRegionInitializing(this, cancelArgs);
                    return !cancelArgs.Cancel;
                }
                else
                {
                    return true;
                }
            }

            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            string Microsoft.Office.Tools.Outlook.IFormRegionFactory.Kind
            {
                get
                {
                    return Microsoft.Office.Tools.Outlook.FormRegionKindConstants.Ofs;
                }
            }
        }
    }

    partial class WindowFormRegionCollection
    {
        internal IssueTrackerFormRegion IssueTrackerFormRegion
        {
            get
            {
                return this.FindFirst<IssueTrackerFormRegion>();
            }
        }
    }
}
